fix(ci): remove duplicate python-ci call from pr-validation.yml - #80
Conversation
The core-validation job in pr-validation.yml re-invoked the shared python-ci.yml reusable at the same pinned SHA already called by ci.yml's ci job, roughly doubling PR CI cost (quality checks, unit tests, integration tests, security tests, coverage combine, LLM governance, and the Python matrix all ran twice per PR). Remove the core-validation job and its reusable call. Keep ci.yml's call as the single source of truth. Update validation-summary (which produces the required Dependency & Standards Validation status check) to drop the needs.core-validation reference, its result-based echo block, and the failure condition that tested it; leaving that reference in place after deleting the job would have caused the workflow to fail to parse. #CRITICAL validation-summary's required-context role was verified against the org ruleset (gh api repos/ByronWilliamsCPA/audio-processor/rules/branches/main) before this change: CI Gate is produced by ci.yml's gate job, Security Gate Validation by security-analysis.yml, and Check REUSE Compliance by reuse.yml, none of which reference core-validation. #VERIFY re-run the ruleset query after merge to confirm all four required contexts still report on the next PR. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned Files
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Team Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. WalkthroughThe pull request removes the ChangesCI validation workflow
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to This removes duplicated Python CI runs while preserving the remaining validation status check and Python CI path. No current merge-blocking risk is identified. Suggested labels: Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
There was a problem hiding this comment.
🟡 Changes recommended
The required validation-summary status check can still succeed even if its needed jobs fail, potentially masking upstream failures and allowing merges with incomplete validation.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
Removes the duplicate invocation of the org reusable python-ci.yml workflow from PR validation so core CI runs only once per PR (via .github/workflows/ci.yml), while keeping the required Dependency & Standards Validation status check produced by pr-validation.yml.
Changes:
- Removed the
core-validationjob that re-called the sharedpython-ci.ymlreusable workflow. - Updated
validation-summaryto dropneeds.core-validationand remove the related summary/failure logic.
File summaries
| File | Description |
|---|---|
.github/workflows/pr-validation.yml |
Removes the duplicate core CI reusable-workflow job and adjusts the required validation-summary job accordingly. |
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 1
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| echo "" | ||
| echo "✅ All validation checks passed!" >> $GITHUB_STEP_SUMMARY |



What
Removes the
core-validationjob from.github/workflows/pr-validation.yml.That job re-invoked the shared
python-ci.ymlreusable workflow at the samepinned SHA (
7d12f5486ab5c856397ebaa4acd3c99ca385227c) already called by thecijob in.github/workflows/ci.yml.Before/after
ci.yml(line 33)and once from
pr-validation.yml(line 37), duplicating quality checks, unittests, integration tests, security tests, coverage combine, LLM governance,
and the Python matrix.
ci.ymlonly.Files changed
.github/workflows/pr-validation.yml: removed thecore-validationjob;updated the
validation-summaryjob (which produces the requiredDependency & Standards Validationstatus check) to drop theneeds.core-validationreference, its result-based summary lines, and thefailure condition that tested it.
Verification
producers before editing:
CI Gate(ci.yml gate job),Security Gate Validation(security-analysis.yml),Check REUSE Compliance(reuse.yml),Dependency & Standards Validation(pr-validation.yml validation-summaryjob, preserved). None of these depend on
core-validation.actionlint .github/workflows/pr-validation.yml: no new findings; thepre-existing shellcheck info/style notices in unrelated script blocks
actually decreased (16 to 13) since a script block was removed.
python -c "import yaml; yaml.safe_load(...)": parses cleanly.pre-commit run --files .github/workflows/pr-validation.yml: all hookspassed with
SKIP=basedpyright(basedpyright fails on pre-existing typeerrors in
src/audio_processor/services/vad_processor.py, a file this PRdoes not touch).
Generated with Claude Code
Summary by CodeRabbit